Move the pretty-error thing to specs, where it belongs.