Remove @nogc from callbacks.