Add location as attribute accessor