Added ability to call methods with parameters