Cleaned template for automatic processing