Database helpers, and fixings to EtaObjects