NetBSD support (though not tested too much)