Cache the discovered classes for digest engines. Fixes #15.