remove unnecessary reference parameters.