Various element bindings.

Rebase of #716, #717, and #718.