callback_methods exists on module. check if defined before using it.