Adds formatted printing for supported structures.