Safer typecheck in fd_define_get
Merge pull request #8 from dvliman/v2-cleanup

Safer typecheck in fd_define_get