[PLINK-286] - Adding validation for method arguments.
Merge pull request #195 from pedroigor/master

[PLINK-286] - Adding validation for method arguments.