Added some backwards-compatibility changes.

We also introduced some backwards-compatibility-breaking changes by removing the API from __init__.py, which broke our ability to derive the library path during install.