Add method to set market id.