Add readModelsByIndex and readModelsByName methods.