Add a convenience method in write operation