Clean-room reimplementation of Babel...