Merge pull request #2 from TobBrandt/master

Ignore Nothing/Null when looking for dependencies
Extracting a method to check if a candidate type is suitable (not null/nothing)