cleanup of unused variables, no more support for explicit export section