Code required for Coveralls support Fixes #178