CheckCodePrefix
IMO a derive macro is a natural way to generate new code, and it reduces the chance of merge conflicts.