Port to netbeans 8.0.