Automagically call Ruby finalize()