Extract resources definition