Without inheriting from the class or using design patterns like Decorator, Kotlin allows you to extend a class with new features. Extension declarations are used to do this.