Fix #41: add write accessibility API