Update method signature to use interface instead of class

Closes #303
Merge pull request #304 from DaphDaOne/guesser_typehint

Update method signature to use interface instead of class
Merge branch 'sonata/master'