Fix usage of override and virtual keywords