Add a way to get an element's value