MFC: Make BSD tree more contemporary-looking.

This is actually batch of MFCs from the beginning of stable/10 branch.