Divide definition of persistable templates not depending on sql-value type.