remove unused method parameter.