ilog: rework to reduce interface.