Remove checking _valid (which no longer exists) from execFunction and execTuple.
Merge pull request #26 from schancel/fix_valid

Remove checking _valid (which no longer exists) from execFunction and ex...
Added a few missing casts.
Merge remote-tracking branch 'upstream/master'