core: Import 'flex' from official.
core: Update 'flex'.