Amended text documentation

To allow number / boolean to be passed based on input from @dmethvin