Fixed pmd collector

- Getting by class is easier