Pass the method into the hash