Removed ID generation from Resource.