removed callbacks in favor of @inlineCallbacks.