Tidying pattern recognition header file.