Fixed some PHPDoc issues and namespaces.