Attaching and detaching logic change.