nitcc: remove warnings and improve doc