Add character reference support.