I would use the node specific getInstance variant. It's clearer imho (see other comment bellow as well)