What if instead of...  `#if AGENT` we use `#if NETMF`?

Are there features for AGENT that don't work on other NETMF devices?  I guess i'm saying could this be a more generalized NETMF port?