Remove non-bundler dependencies

[Finishes #47042117]
Move manipulation of dependency fields into Dependency