inject class content when migration