Simplify load_adapter method

Should decrease method complexity on codeclimate