Moved ToObservable to own file