Why isn't the view exposed externally instead of being in a class with one method?