This patch introduces type_info class which contains all type information needed by IMR deserialisation contexts.