Make CallablesFilter implement DependencyExtractor via a third callback.
Add a testcase to demonstrate #427