Implement ModelBase.Attributes.default_factory for using with mutable defaults. #268