Work and character filter refactored.