wrlib: add explicit type definition in API to allow compiler Type Checks (1/3)