Add hash extensions