Commented factory method example.