Removed unneeded type_traits include, removed std::exception inheritance