prefix runnable methods with as_ so we can have input parameters of same type as one of possible outputs with something like: perl -p -i -n -e 's/sub sponge/sub as_sponge/' `grep -lr 'sub sponge' lib`