Refactor constants into constant variables.