Implement a simple registration mechanism for different template engines.