Add workaround for nil `protocolClasses`