Extend method for model factory