Some activity cleanup.