Support for >-operator and classes