Cleaning up phrase analyzer.