Adding preventExcessChars option