Use local variables in templates since template parsing doesn't fail if an instance variable is missing