make publish ajax calls work with abstract base