Finishing database module.