Adds the all method