Extra bits and bobs that we need for random things but don't fit in their own repo