Adding some helper routines to make setting prefixes
easier.