Add hash attributes