Moved constants into class.