Moved constants to superclass.