Wrapper to facilitate objects-database interaction, mostly for  third-party code and plugins.