Bug fix: missing crypto class ref