Add missing require for htmlentities.