Fix docs and PHPDocs