Cleanup. Styled nodes inherit from TextNodes for convenience.