Add some helper functions for getting tag information