Remove instance of unsafePerformIO