Replaced Consumer<Void> to Runnable.