Moved setForm to abstractbase