Updated PHPDoc and removed test code.