Added ability to declare function dependencies