Deleting stylesheet has been ported o C++