commit: Fix instantiate_method prototype