add missing zero(), one() and randtest() interfaces