Refactoring. Added 'text' field to DetailNode and MutableDetailNode interfaces