Added a Typeable constraint to ForeignFun and removed unnecessary members.