SWIG interface to manage extended attributes.