Added templating helper class