Using code from common.