only double elements for classes derived from Module