Added support for TextAlignment