C++ified the project.