Non-standard template method invocation fix