clean up documentation, export fewer functions