Missing "template" module reference when calling "Context" class