3.x compatible template usage