Deprecate stub_model and mock_model

For #894