Remove unnecessary method.