Clean up an unnecessary use of unsafePerformIO.
Documentation.