Parse function and method calls properly.