Improved the phpdoc in the library