Add support for viewing sub packages. Fixes #23.