Make global analysis optional