Document lifecycle.