Moved from bit beaker.