Changed semantics of extend to disallow member replacement and to preserve composite type.
Update Aml degisn doc.