Imported from nono-packages/apollo