Various niceties thanks to OpenBSD.