Add support for named method parameters, closes #4