Added check for templateParameters in skeleton builder.