Fixing some documentation and PHPDocs.