Remove 'using namespace std;' and address clang warnings.