This is starting to create a hard dependency on ResourceType.