Fixing the connections and the datamodules.