Added ability to filter by tags.

Fixes #6.