Restored missing code.