persistence: Some fixes to the Projection API.