re-add getDescriptor for backward compatibility [1303]