When accumulating export definitions, also taking into account package export definitions