Fix documentation; move class documentation header to within name-space.