Optimizations and updating project file.