`add_sm_to_registry` reads better.