Simplified several template tags by making template context available to template tag (thus, less arguments have to be passed explicitly.