Added support for static method calls
Fixed a bug with parameter support