Added new property expectedType in template