Adds initial optimizations