Adapted the systematic errors to the new template system.