Added RegisterGlobalConstant.