Add support for looking up methods

Closes danmcclain/docster#2