Fix dependencies function declarations

closes #3