Make some of the element APIs more consistent