virtual is not allowed for templated methods.