Changes to to_param method