Fixes a crash when using Classy