[Yujun] Added a new constructor for AbstractForm.