More sane implementation. Dropped useless templatetag.