Some unused variables are removed.