Add tag selection. Closes #139.