Remove unnecessary targets