Routines to emulate a Datamapper singleton