Enforce void type on accumulatable functions.