Added resources key to array to fix notice.