Trying to work out what the current object is, so i can stub it