Also, the doc_type -> class registry is more of a framework level thing, so once added here I would expect it to eventually get promoted to a separate library. It is really an attribute of some abstraction of the application, and would tie into a `get` function on that object.