Document toArray methods