Made primary field also for dexterity-1 installations working.
Pep8.