Remove unnecessary SameValue methods.