Miscellaneous helper functions aimed at facilitating and standardising simple repetitive tasks