Netbeans changes to make it complain less.