Fix deprecated .delete and .exists methods

https://github.com/perl6/specs/commit/126dd3b3cca08f6e94bba9cc409520078c
35088d