I'd have missed both cases yes, so it's good I asked and I appreciate your answers. Maybe a full syntax checker on this is too much to desire, but a simple one that takes into account common cases where objects and methods are easily recognizable might not be that hard. In the long run a full syntax checker (if even possible) sounds like a good thing to have to me.