Remove excess exports and some spaces.