Ensure model images are immutable before use (Fixes #46)