Add shutdown functions, make sure AFT-controlled settings are ignored during upkeep.