a stupid hack class to get rid of all of the warnings but still make the encode/decode methods available
[Validate]