To use in a gem, make objects behave like arrays