Added some virtual template method workaround, to solve another issue