Data classes now unload resources when not in use.