Fix issue #1044
Deprecate Observable.apply
Merge pull request #1057 from zsxwing/issue-1044

Fix issue #1044