The closest thing you can have at the moment is to create a value class that wraps the class you don't control, and create an extension method there. However... I don't really think that will lead to nice code. Until context receivers are added, you're probably stuck with making it a normal method.