Remove flags as globals. They must now be properties on Module.