Added some new functions to statement object