Hash: added `methods` and `can` methods.