Fixes some dependencies.