Understanding the naked object pattern