Exclude external class definitions