Made allow_failure an accessor