Added basic template generation to schemas.