Apex: Converts clean to use python