added code examples for methods
added apply
Merge pull request #2 from typesafehub/wip/methods

Wip/methods