Add scala adapters for doOnEach operator.