privatize hash_mapping
move HashMethods to top level
increase indent and note the value of the attribute in the docs