Added a convenience method for tag matching