Do we need to test the #type? Shouldn't this element validate callback only ever be attached to a plupload element?