Lots of Dependency Handling Code