Add a method to ensure the correct load order of core model classes with a circular dependency.