The generics Subset and Subset2 and their methods are used internally and are not for general use. They may be replaced by C code in future.