Added support for classes that already have a callback method