type => class
does it make sense then? the thing is that references say what type of document the target is, but the parent mapping does not declare that. now that we talk about that, it might make sense to optionally support that too.