Add missing exports.
Fix exports; remove duplicated functions.