Some functions to make accessing data in TagCompounds easier