Update to comply db factory methods.