Probably should be:

    type instance Element (CustomType a) = a