Replace SC_Query with DB at class Model\Contents\PickupProducts.
Replace SC_Query with DB at class Model\Customer\Address.
Replace SC_Query with DB at class Model\Customer\Customer.