Misc util code for the FT projects