Added a filter for termcode.