Deprecating methods in models