Define inter-app dependencies; clean unnecessary dependencies.