Added ModuleType annotations to the SpartanRPC sample.