Remove an unused private method.