this is on purpose to have consistent API on both JS and PHP side.