Use a more succint syntax for grabbing attributes from elements