Replace deprecated Kernel#returning method