Added text support, gradient support.