Introduce resolve_callable_arguments function, rename resolve() to resolveArguments()