Bugfix: the default for the context_class attribute should be a coderef, not scalar