Minimal implementation for kronos; supports __cmp__