Element: Add more methods for handling attributes