Using theme and template instead of renderer