Dynamically add methods that delegate to key values of a hash