Added document setter to service