Fixed DB class: resetting private properties.