This function takes the following parameters:
Set by the server and used to retrieve the extension
Extended object
New extension to attach to the object