Got rid of duplicate Resources.asMap() calls