Updated doc block for hasName