Add chat command parsing mechanism to Legacy.