Added documentation on flow replacement algorithms.