Adds flags key to denote actions needed.