Alternately, dependencies can be moved to method arguments so that all dependencies are explicit.