Simple template library.