Various bits and bobs that need sharing.