Add govread and govwrite methods.