Ensured the internals of mapped classes are generated