Fix lifecycle debug messages.