Removed unused method getModelById.
Renamed method getModel to getModelByIndex.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>