Added template to abstract state