Add check that the notify callback is callable