Compatibility fix for Crystal 0.5.4