Staging/netlogic coding style issues with struct