Added getters and setters for DB classes.