Remove unnecessary cast to TCling.