Fixed ListElement's object not writing. Issue #1.