Added method to register new comparers