Clarified getResourceData() function signature in plugins.