TODO

- Perform netprofile operations atomically.
