Added comparison methods.