improvements to Chainr

squashed improvements discussed in https://github.com/bazaarvoice/jolt/pull/73