Add tuplify and instances_of methods