Improved the phpdoc and removed unused use statements