Reinstated associative arrays; implemented checks before processing attribute list.