Base templates setup.