Switch `Assembly.elements` to a hash map too, since that's probably closer to what we'll want in the future.