Replace optimist. All tests pass.