Fix up the dependencies