Add onReady documentation.