All you need to do is to pass your instance to the method with this keyword so that the method will act as a method of the passed class. You can add whatever functionality you would like to add by accessing the instance. Now you can access to these method as though you access the method of the class SealedClass.