Improved interface for ExternalGraphics in styles