move part declarations back into init.