Fixed deprecation warning: "Writing arbitrary attributes on a model is deprecated."