Fix lifecycle.