Exclude useless dependencies