Use __all__ in __init__.py files

As discussed in #502.