Implemented specs for exit and nondet_bool.