add documentation and exports