Fixed build and removed unused resources.