support for multiple resource types