Fixed PHPdoc comments and documentation