missing exports for toString and toText