Remove publishAs since it is deprecated