Add optimist dependency.