Added WKB and compression support