Make contextual definitions work.

Sadly we're not using them anywhere, but that shall changes soon.