Port of toDoh in Steroids.js