remove unnecessary module inclusions from Resource