Rename addOptionsArray and addDataArray methods