Helper class for entity template.