Switched arguments for InstallMethodWithDocumentation

such that the function is the last argument.