REVERT all across-trial specific functionality; use transparent impl in core-db instead