Moved dynamic models import to the data_model method