Clean up of the entire N-state model specific API.
Authored by: bugman 2009-11-24
Parent: [r9924]
Child: [r9926]