Make parameter_names into a set in Inverse instead of during registration.