removed SemanticQueryOptimization (which was never used)