I like these checks, but ``TypeError`` would be a better choice, and a more helpful message would be "load_balancing_policy should not be a class, it should be an instance of that class".  Likewise for the other two checks below.