Added crude caps detection.