Fix error logging.
CS.
Fix reusing of compatible dependencies.