Common API for doing SCM operations