suppress deprecated warnings
remove stupid copy in CoreClosePairContainer