Alternative version of Stoplight class.