Python duplicate/obsolete code cleanup