am 567f7ca4: Refactor dream manager to new pattern.

* commit '567f7ca424280ae957b04d4f3df690055f2d41df':
  Refactor dream manager to new pattern.