Added location variables to object.