Added Wall detection.