This is not a deprecation - when you deprecate something, it still works, there is just a warning.
This should be `warn`, not `error`, and then call `self.profile_name(parameter_s)`.