Removes optimist dependency