Added typedef for single Resource.

For neat view