extend GenericsLib script types to remove redundant code