Moved somethings from global to anonymous namespace.
Merge pull request #207 from TsudaKageyu/anonymous

Moved somethings from global to anonymous namespace.