removes deprecated functions