A framework for reusable algorithms.