Remove unnecessary method call.