Added __isset magic to model