Added support for text justification.