add depends hook

the target method will now contains a depends hook.  This will lead
to improved meta data gathering.

Issue #39