Added template functionality to consigliere