Right now, libfreenas.pm is largely a duplication of libvnode_freenas. The two need to be refactored.