Compiled python code cleanup