Clean up element attribute support.
Add class attribute support.