Working on the documentation of the db layer.