Inspection and clearance of goods