Added attribute write support