Move constants to where they are being used.