Added missing extend method to the Model.