A bunch of basic functions for a variety of usage.