Factor out static part of title