Call Default Functions with the Model as the context

Defaults that are defined with a function are called within the context of the model, allowing access to other attributes of the model. Since the call was in the global context previously, this shouldn't break existing code.