Remove an unnecessary method.