Model creation.