Put initial hash into a method.