Moved constants to the beginning of the file.