I hope `MAX_ENTITY_LENGTH` includes space for the semicolon?