Use inheritance to chose the default algorithm if possible.
Use inheritance to chose the default algorithm if possible.