Added param and return value support for methods