Update 'method' to be 'function'
Merge pull request #254 from stevenproctor/patch-3

Update 'method' to be 'function'