Avoid accessing method on a null variable
Throw exception if  is null
Added BaseSpecification documentation
Merge pull request #21 from Happyr/patch-3

Avoid accessing method on a null variable