Added options to disable ref checking, rlink checking, and reformatting.