Let's discuss what you mean by type/target as a resource reference. I'm intrigued somewhat, but wonder if it ties our hands a bit.