Removing DTO references from Resources where required.