Changed how a module's parameters are read from the database to make it work with Postgres.