Don't use the private variable _dependency_handler directly.

Prefer using an accessor function instead of accessing
the underlying _dependency_handler map directly.

Change-Id: Ic26483ec2709546d2a7923cedadc7f397360fce8
Merge "Don't use the private variable _dependency_handler directly."