Add a PK can_do() method and simplify code
4 files changed