Fixed strict warning about call_user_func