You can use Check command to check integrity of drawings and Clean command to discard unused references.