Split code between Bubble and SpeechBubble classes