Moved virtual to front of function declarations