Fix `anything()` to user defined class

* Adapting version to dmd 2.061
* Add override keyword