For the lighting ballasts, were they the black sealed rectangular type?

I brought some to my yard, and they told me they we hazmat and that they would not take them even for shred