Added htmlentities dependency