Add functions for hash maps