component deploy as instance method