Added grid className and attr options to bam and elem optionsAPI.