Fix whitespace in generated callbacks