Adding couple utility methods to DB class.