NXP-14879: improve API