Add IORef version