@jansepar I think you're okay to break compatibility here and make `doc` is a required parameter. We've haven't announced this as a public API.