Fix @nogc backward compatibility