Added basic support for methods with parameters