Group exports so that all length functions are together; no semantic change