Removed reliance on undocumented util._extend.