Add virtual method support