s3-gse Remove or make static unused/local-only GSE functions