phpdoc and remove unused class