Added code to support visual representations of adapters.