Trial data structure related helper functions for tomland.
