Need to check for this to ensure setuphandlers don't run when they shouldn't.