Remove unused resources

This fixes #1064