Reference codes for algorithms.