Added generation from activation code.