Remove a called method become unnecessary