Optimizations to simplification.