Replaced old eject code with the new one.