Integrate console with improved Document API.