Add new capability to API for a node to report its current runlevel.