Moved SCM registration to main activity.