Convert CKE construction to use the WPACKET API