fix #855 require all native members to be declared