This method is misspelled (should be getMaxLength)