Add array() method documentation