Setting the model carefully before casting.