Parse method calls with and without arguments