Raise if register_handler is called without a class or block.
Raise if register_adapter is called without a class or block.
Don't lazy instantiate config.adapter and ensure it still works with hash-style access.