Added debugging.
Fix promise dep for some reason.