Fixes #145: some client side abstract validation.
Merge pull request #151 from stoewer/master

Client side abstract validation.

Tested locally!