NOTE: These methods were cut/paste verbatim from ExperimentDAOCore.