Removed hard coded module flags and into private/flags.php in each module.