Break long line.
Streamline behavior of resolve_model.
Remark optimization.