Useful custom objects and functions.