Customization of the Lane

I am trying to add an extension element into the Lane Container. I have tried to use method org.activiti.bpmn.model.Lane.addExtensionElement(org.activiti.bpmn.model.ExtensionElement) but when I save the diagram, the extension element was not written into the bpmn file.

Appreciate if some one could advice me the appropriate way for doing this?