NetworkBehaviour with interface

Hello,
I have a script that derivatives from NetworkBehaviour and implements interface. Everything works fine as long as I’m calling method on class instance, when I try to call the same method on interface Unity’s networking doesn’t work.

pseudo code:

class MyClass: NetworkBehaviour, IMyClass
{
[Command]
public void Test()
{
//something not relevant
}
}

var class_instance = new MyClass();

class_instance.Test(); // working

IMyClass interface_instance = new MyClass();
interface_instance.Test(); // not working

Can anyone provide solution how to make Unity’s networking works on interface or provide explanation why this is not working (I’m very curious).

Commands and Rpcs need prefixes on their method names (for some unknown reason). So Test should be CmdTest. This also assumes that NetworkBehaviour derivatives support interface implementation - which knowing UNet might not be the case.