Extracting coke with built-in devices