Fix dynamic borrow check errors.

This reduces the scope of the borrow on `family` to the single FFI call that
needs it.
Remove spurious line.
Merge pull request #454 from metajack/dynamic-borrow-errors

Fix dynamic borrow check errors.