Fix deprecated APIs
Support for PMD 5.1