Applied new toArray() convenience method.