Replace empty braces with void on parameterless functions