Added resources spec parsing.