Added support for grabbing location.