Add write API method (alpha)