Remove some unnecessary resources