#102 replace casting with asReactorImpl