Needs work though—we shouldn't be setting this stuff with the attribute selectors, but it's the easiest solution for now.