Implemented DAOs for PostgreSQL storage type.