Fixed assignment for Hash attributes.