Implemented max text length property.