Improved resource groups parsing. Resource parsing origin.