Remove useless return statements from void methods