Moved WebAPI callback interfaces to WebAPI.