Moved constants to a constants file.