Add CheckOut() function.