Added some better failure messages and exposed the FDVar object