Add getter/setter for free callback for hash maps (and destroy function)