Exclude tests directory from documentation
Support 0.9.0 callbacks. Addresses #5.