Starting to port to Meteor 1.0. Iron-Router Errors

Error #1: Exception in defer callback: Error: No uiManager configured
on Router.
Error #2: You called wait() after calling ready() inside the same
computation tree.