T-API: added asserts