More template implementation.