Make publishSynchronous public.

The blocking version of publish called publishSynchronous will be useful for
developers, so make this public.

Change-Id: I99e64afb751a37cd93d35195e2058d30d5d0d568