Add .to_a
Update  query to be a class method.