More declarative method for equality