Remove redundant namespace qualifier
Use std::string in hooks source file