Implemented WriteLatexDataSource with WriteLatexAPI instead of WLDataModel.