Added to templates and preprocess