Added CreateText implmenation.