remove return values from callbacks which don't need them