Fixed call to deprecated `call_user_method_array`, fixes #1