Fixes dependency issues.