Change instance#memoize interface to accept a Hash
Fix YARD docs