Parsing instanceof