added options argument to #all class method