Lots of work towards coming up with a safe implementation.