Slightly improves AST optimizer