Add helpers for pseudo-elements.