Reverts @constructor to @prototype.db in several methods. Need to check this.