Expose sketch state to REPL