Added AddLine & AddCommand Constructors.