Make getDependencies public. Added closure compiler.