Ugly hack for Termite support.