Remove unnecessary partial.