Remove deprecated lines