Reset functions are now registered and run appropriately.