Add inline docs for core/Registry.
Inline docs and improved tests for core/request