Some template implementation/tests