Don't change type of element#attributes.