some comments around template implementation.