Also added operations for checkin and checkout.