Add TODO about inefficient template logic