As with above, let's contain the unsafety of this block to just where necessary.