Make various types public (and some fields private).