Minimal wrapper for extracting views into a template