Removed C++11 features for simplicity.