extracting templates into static class members