Fixed PHPDoc and removed useless method.