Adding support for centering text.