Remove unused model variable

Closes #1242.