Move submit logic to PoolResponse class.