Fixed documentation and namespace issues