Remove a needless method call