If we want setMap to be an extension point for custom controls then it makes sense to have it in the APi doc. And to have it in the API doc I think it needs to exported.