Added XStyle class