Normally I'd agree. But in an SDK, I'd like to minimize creation and maintenance of files by the SDK itself. But I get your point. I will extract them as constants instead at the top of the file.