updated docs for new setAllowedCharacters method