Second method name is optional. (fixes #3)
Adding missing parameter type. (fixes #2)