Pfx getters fix

Fixes issue #203 & #205