Support for resources and requests from proto schemas.

Would you consider changing the variable name to typeName? Just looking at this snippet of code it looks like it's going to be a [Type], which it's not. Just a thought.