Publishing API implementation.