Add corpus support in server-side.