Adhere to Google C++ Style guide. Also add doc.
See http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml for
reference.