Implements rivers.