Refactor name and interface of WordpressComApi callback methods.