Add sharing_token_length, ensure backwards compatibility