register_stub command