Extract constants.