Readds export function, which for whatever reason was removed sometime...