@stof I would do this using reflection to make sure that `ConsoleOutputInterface` is not a class, but I see in the existing code base that `instanceof` is used even for interfaces. Any thoughts on this ?