Added basic template classes.