Added the flags_try_initialize() function.