Fixed lifecycle API.