Doc example for New() method