Partial implementation of onDisable output.