Updating the template provider and code to work with the updated coral architecture.