rename getBaseSet => getTypeSet function