Removing deprecated lines