new-function gets renamed to new-dictionary when exporting