Clean up python bindings