Make a ResponseType registry.

And while I was in there, I made it a decorator, so it's nicer to use.