Add virtual keyword to methods