Extracted some hard coded values as constants.