Introduced MaxLengthType abstraction