Environment#adapter_module and Environment#adapter_name.
Simplify Environment#dsl_class.