Restrict optimizations