Miscellaneous utility codes for Processing