Change getAlgorithm() default behavior.