Remove defaultProjection and object from typedef

Leftover from #2810
Merge pull request #2811 from fredj/leftover-2810

Remove defaultProjection and object from typedef