Make projectId an instance variable, fixing #3