A Mixin for creating methods from hashes.