Rename scope to lifecycle as it makes more sense.