Updated grammar and tweaked chunking logic
Cleaned up other load_attributes logic