Revert to using Elements as key instead of ProfileElements. Fixes #10