Make it compile.
Disable unresolved error message for extend entities, since they may not exist for every entity.