It really is more presentation than model.  It is shared by UI and CLI to provide consistency.  It was part of existing code that can be later refactored.  We simply added a check due to the fact that data could now be nil.