support for setupCallbacks method