Only set model if not already set
Merge pull request #3 from arv/set-model-once

Only set model if not already set