Bug fix: Regeistion.