Apply template customization.