move imported_context_fns to docs module