Remove not needed arguments.