Stub two algorithms.