Add shared object detection.