Added hasDirectPart.