Replace usage of deprecated VTE method