pass dict and not context

the context is an implementation detail.