Filter imported declarations from other project items.
These items would just be duplicated otherwise which is confusing.