compatibility with aiorest 0.2.0