Add flags functions which were added to 0.9.8 for fips but not 1.0.0 and