Added support for pulling data from multiple collections.

This is starting to get ugly. It may be time to re-engineer this...