Allow nil so using blocks is easy