I moved the water BlockFromToEvents into the flow() method so that it would be in one place. Therefore I moved this code (which creates stone) into the flow() method as well.