Avoid using of incomplete types with containers, part 2.

We must first define dynamic_t and only then object_t that is derived from std::map.