Loading outputs from the database.