add support for keeping SCM type