Moved stv protection related functions into the driver class. (nw)