Use fully qualified package names.

Fixed #761