Add optional claim parameter to Statement constructor

This is basically the same as  #186 but ensures compatibility with the old api.
That's kinda pushing what it means to be an addition :)