Change constants to uint where applicable.