Add factory option for details object on model builder