Added auto-building of style elements