removing unused variables from output format classes