Fixed missing virtual function