Improve docs and move withCheckout to options dictionary