BUGFIX : CDOResources are EObjects....
Minor refactoring to improve performance