Registering command in service provider