Updated to show the insertLink and insertImage methods.