A bunch of fixes to make the python interface work
Fixing ignores