Various bits I've thrown together to make life easier.